package com.ruoyi.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 rent
 * 
 * @author ruoyi
 * @date 2024-05-15
 */
public class Rent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 房源id */
    @Excel(name = "房源id")
    private Long houseid;

    /** 租客id */
    @Excel(name = "租客id")
    private Long userid;

    /** 合同id */
    @Excel(name = "合同id")
    private Long contractid;

    /** 业主id */
    @Excel(name = "业主id")
    private Long proprietorid;

    /** 租金 */
    @Excel(name = "租金")
    private BigDecimal rentAmount;

    /** 支付类型id */
    @Excel(name = "支付类型id")
    private Long paymentid;

    /** 租赁id */
    @Excel(name = "租赁id")
    private Long leaseid;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /** 状态 */
    @Excel(name = "状态")
    private Long isStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHouseid(Long houseid) 
    {
        this.houseid = houseid;
    }

    public Long getHouseid() 
    {
        return houseid;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setContractid(Long contractid) 
    {
        this.contractid = contractid;
    }

    public Long getContractid() 
    {
        return contractid;
    }
    public void setProprietorid(Long proprietorid) 
    {
        this.proprietorid = proprietorid;
    }

    public Long getProprietorid() 
    {
        return proprietorid;
    }
    public void setRentAmount(BigDecimal rentAmount) 
    {
        this.rentAmount = rentAmount;
    }

    public BigDecimal getRentAmount() 
    {
        return rentAmount;
    }
    public void setPaymentid(Long paymentid) 
    {
        this.paymentid = paymentid;
    }

    public Long getPaymentid() 
    {
        return paymentid;
    }
    public void setLeaseid(Long leaseid) 
    {
        this.leaseid = leaseid;
    }

    public Long getLeaseid() 
    {
        return leaseid;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setIsStatus(Long isStatus) 
    {
        this.isStatus = isStatus;
    }

    public Long getIsStatus() 
    {
        return isStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseid", getHouseid())
            .append("userid", getUserid())
            .append("contractid", getContractid())
            .append("proprietorid", getProprietorid())
            .append("rentAmount", getRentAmount())
            .append("paymentid", getPaymentid())
            .append("leaseid", getLeaseid())
            .append("totalAmount", getTotalAmount())
            .append("isStatus", getIsStatus())
            .toString();
    }
}
